package utils;

import cn.hutool.core.text.UnicodeUtil;

import java.io.UnsupportedEncodingException;

/**
 * @Author: DRevelation
 * @Date: 2021/2/22 9:38
 */
public class ParseUtils {
    public static void main(String[] args) throws UnsupportedEncodingException {
//        Double.valueOf(null); //NullPointerException
//        Double.parseDouble(null); //NullPointerException
//        Long.parseLong(null);

        System.out.println(UnicodeUtil.toString("\\u563B\\u563B\\uD83D\\uDE01\\uD83D\\uDE02\\uD83D\\uDC7F"));
        System.out.println(UnicodeUtil.toString("haha"));
    }
}
